package com.message.api.user.vo;

import com.message.api.user.entity.AcUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author mzl.
 */
@Data
@ApiModel
public class LoginSuccessVo {

    @ApiModelProperty("用户信息")
    private AcUser user;

    @ApiModelProperty("登录令牌")
    private String token;

    public LoginSuccessVo() {
    }

    public LoginSuccessVo(AcUser user, String token) {
        this.user = user;
        this.token = token;
    }
}
